using OracleInternal.Common;

namespace OracleInternal.NotificationServices
{
	internal class QueueElement
	{
		public object obj;

		public QueueElement next;

		public int priority;

		public QueueElement(object o)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.QueueElement, OracleTraceFuncName.ctor);
			}
			obj = o;
			next = null;
			priority = 10;
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.QueueElement, OracleTraceFuncName.ctor);
			}
		}

		public QueueElement(object o, int p)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.QueueElement, OracleTraceFuncName.ctor);
			}
			obj = o;
			next = null;
			priority = p;
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.QueueElement, OracleTraceFuncName.ctor);
			}
		}
	}
}
